//
//  ZLTapCollectionViewCell.m
//  TripTogether
//
//  Created by dllo on 15/12/25.
//  Copyright © 2015年 杨泓晔. All rights reserved.
//

#import "ZLTapCollectionViewCell.h"

@implementation ZLTapCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.imageView = [UIImageView new];
        
        
        [self.contentView addSubview:self.imageView];
        [self.imageView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.equalTo(self.contentView);
            
        }];
    }
    return self;
}

- (void)setZlTapM:(ZLTapModel *)zlTapM
{
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:zlTapM.photo_1600] placeholderImage:PICHOLDEER];
}

@end
